﻿using System;

namespace ConsoleDemo
{
    class Program
    {
        static void Main(string[] args)
        {
           //隐式实现接口
            Dog dog = new Dog();          
            dog.PrintEat();
            Console.WriteLine();
            //显示实现接口
            Run run = new Pet();
            run.PrintRun("TOM");
            Console.ReadKey();
          

            
        }
    }
}
